home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Graphics Unleashed
/
PC Graphics Unleashed.iso
/
xb
/
tiff.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-27
|
2KB
|
46 lines
/*................................. TIFF.H ................ 7-28-94 .........*/
/* This file declares the TIFFLB library functions and global parameters */
/* used throughout the graphics routines (Version 3.0). */
/* */
/* Copyright Spyro Gumas, 1992 - 1994. All Rights Reserved. */
/*..........................................................................*/
/*.... The next line is for compatibility with older versions of TIFF256 ...*/
#define tf_display_image tf_display_ifd
/*..........................................................................*/
/* Function Prototypes */
/*..........................................................................*/
extern void far cdecl tf_set_true_color_mode(int, int, int);
extern void far cdecl tf_get_true_color_mode(int far *, int far *, int far *);
extern int far cdecl tf_open_file(char far *);
extern void far cdecl tf_close_file(void);
extern int far cdecl tf_get_file_info(void);
extern int far cdecl tf_skip_ifd(unsigned);
extern void far cdecl tf_set_defaults(void);
extern int far cdecl tf_read_ifd(void);
extern int far cdecl tf_display_ifd(unsigned,unsigned);
extern int far cdecl tf_save_file(unsigned,unsigned,unsigned,unsigned,
char far *);
extern long far cdecl tf_image_size(void);
extern int far cdecl tf_load_image(unsigned char huge*,unsigned char far*);
extern int far cdecl tf_save_image(unsigned char huge*,unsigned char far*,
char far *);
extern void far cdecl tf_set_prime_colors(void);
extern void far cdecl tf_about( void );
/*..........................................................................*/
/* Parameter Declarations */
/*..........................................................................*/
extern unsigned char far TF_Byte_Buf[4096];
extern unsigned long TF_ImageWidth, TF_ImageLength;
extern unsigned far TF_BitsPerSample[3],TF_Num_Ifd;
extern unsigned TF_ResolutionUnit,TF_SamplesPerPixel;
extern unsigned TF_PhotometricInterpretation;
extern unsigned long TF_XResolution_int,TF_XResolution_frac;
extern unsigned long TF_YResolution_int,TF_YResolution_frac;
extern unsigned TF_Black,TF_Red,TF_Orange,TF_Yellow,TF_Green;
extern unsigned TF_Aqua,TF_Blue,TF_Violet,TF_White;